/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/*
 * SNandServicesPanel.java
 *
 * Created on Jun 25, 2009, 10:40:50 AM
 */

package mdnsapp;

import javax.swing.JList;
import javax.swing.JPanel;

/**
 *
 * @author Qaisar
 */
public class SNandServicesPanel extends javax.swing.JPanel {

    /** Creates new form SNandServicesPanel */
    public SNandServicesPanel() {
        initComponents();
        
    }

    /** This method is called from within the constructor to
     * initialize the form.
     * WARNING: Do NOT modify this code. The content of this method is
     * always regenerated by the Form Editor.
     */
    @SuppressWarnings("unchecked")
    // <editor-fold defaultstate="collapsed" desc="Generated Code">//GEN-BEGIN:initComponents
    private void initComponents() {

        Tabs = new javax.swing.JTabbedPane();
        ServicesPanel = new javax.swing.JPanel();
        SupernodesPanel = new javax.swing.JPanel();
        jScrollPane1 = new javax.swing.JScrollPane();
        ServicesList = new javax.swing.JList();
        ClientsPanel = new javax.swing.JPanel();

        setName("Form"); // NOI18N

        Tabs.setName("Tabs"); // NOI18N

        ServicesPanel.setName("ServicesPanel"); // NOI18N

        javax.swing.GroupLayout ServicesPanelLayout = new javax.swing.GroupLayout(ServicesPanel);
        ServicesPanel.setLayout(ServicesPanelLayout);
        ServicesPanelLayout.setHorizontalGroup(
            ServicesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 395, Short.MAX_VALUE)
        );
        ServicesPanelLayout.setVerticalGroup(
            ServicesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 398, Short.MAX_VALUE)
        );

        org.jdesktop.application.ResourceMap resourceMap = org.jdesktop.application.Application.getInstance(mdnsapp.MDNSApp.class).getContext().getResourceMap(SNandServicesPanel.class);
        Tabs.addTab(resourceMap.getString("ServicesPanel.TabConstraints.tabTitle"), ServicesPanel); // NOI18N

        SupernodesPanel.setName("SupernodesPanel"); // NOI18N

        jScrollPane1.setName("jScrollPane1"); // NOI18N

        ServicesList.setName("ServicesList"); // NOI18N
        jScrollPane1.setViewportView(ServicesList);

        javax.swing.GroupLayout SupernodesPanelLayout = new javax.swing.GroupLayout(SupernodesPanel);
        SupernodesPanel.setLayout(SupernodesPanelLayout);
        SupernodesPanelLayout.setHorizontalGroup(
            SupernodesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(javax.swing.GroupLayout.Alignment.TRAILING, SupernodesPanelLayout.createSequentialGroup()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.PREFERRED_SIZE, 161, javax.swing.GroupLayout.PREFERRED_SIZE)
                .addContainerGap(234, Short.MAX_VALUE))
        );
        SupernodesPanelLayout.setVerticalGroup(
            SupernodesPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGroup(SupernodesPanelLayout.createSequentialGroup()
                .addComponent(jScrollPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 387, Short.MAX_VALUE)
                .addContainerGap())
        );

        Tabs.addTab(resourceMap.getString("SupernodesPanel.TabConstraints.tabTitle"), SupernodesPanel); // NOI18N

        ClientsPanel.setName("ClientsPanel"); // NOI18N

        javax.swing.GroupLayout ClientsPanelLayout = new javax.swing.GroupLayout(ClientsPanel);
        ClientsPanel.setLayout(ClientsPanelLayout);
        ClientsPanelLayout.setHorizontalGroup(
            ClientsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 395, Short.MAX_VALUE)
        );
        ClientsPanelLayout.setVerticalGroup(
            ClientsPanelLayout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addGap(0, 398, Short.MAX_VALUE)
        );

        Tabs.addTab(resourceMap.getString("ClientsPanel.TabConstraints.tabTitle"), ClientsPanel); // NOI18N

        javax.swing.GroupLayout layout = new javax.swing.GroupLayout(this);
        this.setLayout(layout);
        layout.setHorizontalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(Tabs, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
        );
        layout.setVerticalGroup(
            layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
            .addComponent(Tabs, javax.swing.GroupLayout.DEFAULT_SIZE, 426, Short.MAX_VALUE)
        );
    }// </editor-fold>//GEN-END:initComponents

    public JPanel getClientsPanel() {
        return ClientsPanel;
    }

    public void setClientsPanel(JPanel ClientsPanel) {
        this.ClientsPanel = ClientsPanel;
    }

    public JPanel getServicesPanel() {
        return ServicesPanel;
    }

    public void setServicesPanel(JPanel ServicesPanel) {
        this.ServicesPanel = ServicesPanel;
    }

    public JPanel getSupernodesPanel() {
        return SupernodesPanel;
    }

    public void setSupernodesPanel(JPanel SupernodesPanel) {
        this.SupernodesPanel = SupernodesPanel;
    }

    public JList getServicesList() {
        return ServicesList;
    }

    public void setServicesList(JList ServicesList) {
        this.ServicesList = ServicesList;
    }


    // Variables declaration - do not modify//GEN-BEGIN:variables
    private javax.swing.JPanel ClientsPanel;
    private javax.swing.JList ServicesList;
    private javax.swing.JPanel ServicesPanel;
    private javax.swing.JPanel SupernodesPanel;
    private javax.swing.JTabbedPane Tabs;
    private javax.swing.JScrollPane jScrollPane1;
    // End of variables declaration//GEN-END:variables

}
